const discountCouponModel = {
  // 主键
  couponId: '',
  // 优惠券名称
  couponName: '',
  couponDistributionQuantity: '',
  couponDistributionQuantitySinglePerson: '',

  couponApplicableScope: '',
  couponApplicableScopeValue: '',

  couponType: '',
  couponTypeValue: '',

  couponBaseAmount: '',
  couponReducedAmount: '',

  couponDiscount: '',

  couponValidityTermType: '',
  couponValidityTermTypeValue: '',

  couponValidityTermStart: '',
  couponValidityTermEnd: '',

  couponValidityTerm: '',
  couponExplain: '',
  couponSummary: '',

  couponApplicableResourceType: '',
  couponApplicableResourceTypeValue: '',

  couponDistributionMethodList: [],
  _couponDistributionMethodList: [],

  // 资源类型
  couponApplicableResource: '',
  _couponApplicableResource: [],

  _couponDistributionMethodBaseAmount_Refresh: '',
  _couponDistributionMethodBaseAmount_Maintenance: '',

  // 有效期期限
  _couponValidityTermRange: []
}

const primaryKey = 'couponId'

// 发放类别
const discountCouponCategory = [
  {
    label: '生鲜',
    value: 'FRESH'
  },
  {
    label: '维保',
    value: 'MAINTENANCE'
  }
]

// 发放方式
const discountCouponMethods = [
  {
    label: '新用户发放',
    value: 'NEW_USER'
  }, {
    label: '用户领取',
    value: 'RECEIVE'
  }, {
    label: '生鲜购物满',
    value: 'FRESH_FULL_SHOPPING'
  }, {
    label: '维保购物满',
    value: 'MAINTENANCE_FULL_SHOPPING'
  },
  {
    label: '充值送券',
    value: 'RECHARGE'
  }
]

// 优惠类型
const discountCouponTypes = [
  {
    label: '满减',
    value: 'FULL_REDUCTION'
  }, {
    label: '满折扣',
    value: 'FULL_DISCOUNT'
  }
]

// 有效期类型
const discountCouponValidity = [
  {
    label: '日期范围',
    value: 'DATE_RANGE'
  }, {
    label: '期限(天)',
    value: 'TERM_DAY'
  }
]

export {
  primaryKey,
  discountCouponModel,
  discountCouponCategory,
  discountCouponTypes,
  discountCouponValidity,
  discountCouponMethods
}
